package utils;
//
//
// Keyboard
//
//
import java.io.*;

public class Keyboard 
{
private static BufferedReader keyboard=new BufferedReader(new InputStreamReader(System.in));

public static String getString()
{
	return getLine();
}

public static int getInt()
{
	try{
		return Integer.parseInt(getLine());
	}catch(NumberFormatException e){ return -1;}
}

public static void pause()
{
	try{
		keyboard.readLine();
	}catch(IOException e){}
}

private static String getLine()
{
	String line;
	try{
		line=keyboard.readLine();
	}catch(IOException e){ return "";}
	return line;
}

public static char getChar() {
	return getString().charAt(0);
}

}

